﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Kwan.Data;
using ZP.Data;

namespace ZP.Web
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Expression exp = TUser.userName == "admin@1.c";
            TUser u = exp.ListFirst<TUser>();
            u.LoginCount += 1;
            DBContext.Save(u);


        }
    }
}